package net.courier.mq;

public interface MessageSendClientPool {
	public void setHost(String hosts);
	
	public void setExchangeType(ExchangeType type);
	
	public void setExchangeName(String exchangeName);
	
	/**
	 * 获取发生消息的客户端
	 * 
	 * @return
	 * @throws RuntimeException 如果无法连接服务器
	 */
	public MessageSendClient getClient();
	
	public void destroy();
	
}
